package com.hoshiicloud.user.param.usercenter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 用户优惠券分页查询参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/11 17:20
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class MemberCouponPageParam {

    /**
     *当前页，默认1
     */
    @ApiModelProperty(name = "pageIndex", value = "当前页码", required = true, dataType = "java.lang.Long", example = "1")
    private Long pageIndex = 1L;

    /**
     *每页数量，默认10
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小", required = true, dataType = "java.lang.Long", example = "10")
    private Long pageSize = 10L;

    // 用户主键ID
    @ApiModelProperty(name = "userId", value = "用户主键ID", required = true, dataType = "java.lang.Long", example = "3171776001692664000")
    private Long userId;

    // 优惠券编号
    @ApiModelProperty(name = "billno", value = "优惠券编号", required = true, dataType = "java.lang.String", example = "Y00001")
    private String billno;

    // 券面值
    @ApiModelProperty(name = "amount", value = "券面值", required = true, dataType = "java.math.BigDecimal", example = "100.00")
    private BigDecimal amount;

    // 来源  1-消费 2-活动 3-消费返回
    @ApiModelProperty(name = "source", value = "来源", required = true, dataType = "java.lang.Integer", example = "1")
    private Integer source;

    // 状态 1-有效 2-已过期   3-已作废 4- 已使用
    @ApiModelProperty(name = "status", value = "状态", required = true, dataType = "java.lang.Integer", example = "4")
    private Integer status;

}  